package com.wonders.bigdata.sm4test;

/**
 * Description: <br>
 *
 * @author: XB
 * @date: 2021/4/14 9:19
 */
public class TestMain {
    public static void main(String[] args) {
        String s = "你好";
        SM4Utils sm4Utils = new SM4Utils();
        System.out.println("加密后：" + sm4Utils.encryptData_ECB(s));
        System.out.println("解密后：" + sm4Utils.decryptData_ECB(sm4Utils.encryptData_ECB(s)));

    }
}
